package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class AccidentDetail {

    private Long id;//编号

    private Boolean check;//审核状态

    private Boolean state;//当前状态

    private String place;//报案人地址

    private String tel;//报案人电话

    private String carnumber;//车牌号

    private String numbering;//保单编号

    private String employee;//现场员工

    private String summary;//事故描述

    private String wok;//责任指定

    private String tips;//备注

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date time;//处理时间
    private String payee;//收款人

    private String cardnum;//银行卡号

    private Double compensate;//赔付总额

}